 const ZBPromise = require('./promise')
 const test = new ZBPromise((resolve, reject) => {
     //  const test = new Promise((resolve,reject)=>{
     console.log('test start')
     setTimeout(() => {
         resolve('侧事故')
     }, 1000);
     console.log('test end')
 });
 console.log('======')
 test.then(res => {
         console.log('then.res', res)
     })
     // .then(res=>[
     //     console.log(res)
     // ])